$ systemctl status prometheus.service -l
● prometheus.service - Prometheus Voice
Loaded: loaded (/etc/systemd/system/prometheus.service; enabled; vendor preset: disabled)
Active: active (running) since Wed 2020-06-03 13:45:32 +08; 1 day 3h ago
Docs: https://github.com/prometheus/prometheus
Main PID: 281503 (prometheus)
CGroup: /system.slice/prometheus.service
└─281503 /data1/prometheus/prometheus-2.16.0.linux-amd64/prometheus --config.file=/data1/prometheus/prometheus-2.16.0.linux-amd64/prometheus.yml --web.listen-address=0.0.0.0:9090 --storage.tsdb.retention=60d --web.enable-lifecycle --web.external-url=http://143.92.123.121:9090 --query.max-samples=500000000 --query.timeout=20m --query.max-concurrency=200
Jun 04 16:22:06 sg-prometheus-base01 prometheus[281503]: level=error ts=2020-06-04T08:22:06.523Z caller=file.go:225 component="discovery manager scrape" discovery=file msg="Error adding file watcher" err="too many open files"
Jun 04 16:22:06 sg-prometheus-base01 prometheus[281503]: level=error ts=2020-06-04T08:22:06.523Z caller=file.go:225 component="discovery manager scrape" discovery=file msg="Error adding file watcher" err="too many open files"
Jun 04 16:22:06 sg-prometheus-base01 prometheus[281503]: level=error ts=2020-06-04T08:22:06.523Z caller=file.go:225 component="discovery manager scrape" discovery=file msg="Error adding file watcher" err="too many open files"
Jun 04 16:22:06 sg-prometheus-base01 prometheus[281503]: level=error ts=2020-06-04T08:22:06.523Z caller=file.go:225 component="discovery manager scrape" discovery=file msg="Error adding file watcher" err="too many open files"
Jun 04 16:22:06 sg-prometheus-base01 prometheus[281503]: level=error ts=2020-06-04T08:22:06.523Z caller=file.go:225 component="discovery manager scrape" discovery=file msg="Error adding file watcher" err="too many open files"
Jun 04 16:22:06 sg-prometheus-base01 prometheus[281503]: level=error ts=2020-06-04T08:22:06.523Z caller=file.go:225 component="discovery manager scrape" discovery=file msg="Error adding file watcher" err="too many open files"
Jun 04 16:22:06 sg-prometheus-base01 prometheus[281503]: level=error ts=2020-06-04T08:22:06.523Z caller=file.go:225 component="discovery manager scrape" discovery=file msg="Error adding file watcher" err="too many open files"
Jun 04 16:22:06 sg-prometheus-base01 prometheus[281503]: level=error ts=2020-06-04T08:22:06.523Z caller=file.go:225 component="discovery manager scrape" discovery=file msg="Error adding file watcher" err="too many open files"
Jun 04 16:22:06 sg-prometheus-base01 prometheus[281503]: level=error ts=2020-06-04T08:22:06.523Z caller=file.go:225 component="discovery manager scrape" discovery=file msg="Error adding file watcher" err="too many open files"
Jun 04 16:22:06 sg-prometheus-base01 prometheus[281503]: level=error ts=2020-06-04T08:22:06.523Z caller=file.go:225 component="discovery manager scrape" discovery=file msg="Error adding file watcher" err="too many open files"